package com.yixing.tech.wms.service;

import com.yixing.tech.common.base.BusinessException;
import com.yixing.tech.wms.entity.ErpWareHouse;
import com.yixing.tech.wms.entity.Material;

/**
 * ErpSyncService
 *
 * @author yixing tech
 * @since 1.0.0
 */
public interface ErpSyncService {

    boolean insertWarehouse(ErpWareHouse erpWareHouse) throws BusinessException;

    boolean updateWarehouse(ErpWareHouse erpWareHouse) throws BusinessException;

    boolean syncWarehouse(ErpWareHouse erpWareHouse) throws BusinessException;

    boolean insertMaterial(Material material) throws BusinessException;

    boolean updateMaterial(Material material) throws BusinessException;

    boolean syncMaterial(Material material) throws BusinessException;

}
